import Layout from '@/layout'

export default {
  path: '/employees', // 在Layout中显示employees
  component: Layout,
  children: [
    {
      path: '', // 默认子路由
      name: 'employees',
      component: () => import('@/views/employees'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: ':id',
      component: () => import('@/views/employees/employeesDetail'),
      hidden: true // 不在侧边栏显示
    },
    {
      path: 'print/:usersId',
      component: () => import('@/views/employees/print'),
      hidden: true // 不在侧边栏显示
    }
  ]
}
